package org.ycx.doc.service;

import org.ycx.doc.dao.model.DocProject;
import org.ycx.doc.dao.model.DocUserVersion;
import org.ycx.doc.dto.DocProjectInfo;
import org.ycx.doc.dto.DocUser;

import java.util.List;

public interface IProfileService {
    DocUser findUserProfile(int uid);

    int updateUser(DocUser user);

    List<DocProjectInfo> findUserProject(int uid);

    DocProjectInfo addUserVersion(DocUserVersion duv);

    int updateUserProject(Integer appId, int uid, Integer userVersion);

    int delUserApp(Integer appId, int uid);
}
